#ifndef SHOP_H
#define SHOP_H

#include "Time.h"
#include "Customer_Obj.h"
#include "sync.h"
#include "control.h"
#include "sweeps.h"
#include "Deli.h"

class shop{
      
     public:
            shop();
            shop(sync *sync_object, control *control_object, sweeps *sweeps_object, Deli *deli_object);
            void start_shopping();
            void show_stats();
            Customer_Obj peek();
            Customer_Obj go2checkout();
            

     private:
             Customer_Obj *shopping_array;
             sync *sync_obj;
             control *control_obj;
             sweeps *sweeps_obj;
             Deli *deli_obj;
             int min, max, numProcessed;
             int maxShop;
             int avgShop;
             int shopTimeAvg[1000];
             bool action;
             
};

#endif
